how to find sum of list in python by value

join shbcf.ru